<%--
  Created by IntelliJ IDEA.
  User: LT
  Date: 2018/5/5
  Time: 10:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/statics/bootstrap/css/bootstrap.css" />
    <link rel="stylesheet" href="${pageContext.request.contextPath}/statics/table/bootstrap-table.min.css" />
    <script type="text/javascript" src="${pageContext.request.contextPath}/statics/jquery-3.2.1.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/statics/bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/statics/table/bootstrap-table.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/statics/table/locale/bootstrap-table-zh-CN.min.js"></script>
    <script type="text/javascript">
        $(function(){
            $('#table').bootstrapTable({
                url: '${pageContext.request.contextPath}/u/li',
                columns: [{
                    field: 'id',
                    title: '编号'
                }, {
                    field: 'name',
                    title: '姓名'
                }, {
                    field: 'pwd',
                    title: '密码'
                },  {
                    field: 'quanxian',
                    title: '权限'
                }],

            });
        }) ;
    </script>


</head>
<body>
<table id="table"></table>
</body>
</html>
